package com.mc.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.mc.model.data_download;

public interface IDataService {
    int deleteByPrimaryKey(Integer dataId);

    int insert(data_download record);

    int insertSelective(data_download record);

    data_download selectByPrimaryKey(Integer dataId);

    int updateByPrimaryKeySelective(data_download record);

    int updateByPrimaryKey(data_download record);
    List<data_download> selectLimit();
    int selectAllCount();
    List<data_download> selectAllLimit(int start,int size);
    
    List<data_download> selectbyddtype( int id,int start,int size);
    
    int countofddbyddtype(int id);
    

    List<data_download> selectbytitlelike(@Param("title")String title,@Param("start")int start,@Param("size")int size);
    
    int countofbytitlelike(String title);
}